<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Arex the t-rex</title>
	<script type="text/javascript" src="jquery/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="codemirror/js/codemirror.js"></script>
	<script type="text/javascript" src="codemirror/js/mode/javascript.js"></script>
	<script type="text/javascript" src="js/arex.js"></script>
	<script type="text/javascript" src="js/json2.js"></script>
	
	<link rel="stylesheet" href="codemirror/css/codemirror.css">
	<link rel="stylesheet" href="codemirror/css/theme/default.css">
</head>
<body onLoad="onLoad();">
	<table>
		<tr>
			<td colspan="2"><b>Available Rexys:</b></td>
		</tr>
		<tr>
			<td>GET JSON</td><td><a href="#GET" onClick="call(METHOD.GET);">it.aqquadro.RaimondRex</a></td>			
		</tr>
		<tr>
			<td>GET JSONP</td><td><a href="#GET" onClick="call(METHOD.GET, 'jsonp');" >it.aqquadro.RaimondRex</a></td>
		</tr>
		<tr>
			<td>PUT JSON</td><td><a href="#PUT" onClick="call(METHOD.PUT);" >it.aqquadro.RaimondRex</a></td>
		</tr>
		<tr>
			<td>POST JSON</td><td><a href="#POST" onClick="call(METHOD.POST);" >it.aqquadro.RaimondRex</a></td>
		</tr>
		<tr>
			<td>DELETE JSON</td><td><a href="#DELETE" onClick="call(METHOD.DELETE);" >it.aqquadro.RaimondRex</a></td>
		</tr>
		<tr>
			<td>OPTIONS JSON</td><td><a href="#OPTIONS" onClick="call(METHOD.OPTIONS);" >it.aqquadro.RaimondRex</a></td>
		</tr>
<!-- 		<tr> -->
<!-- 			<td>TRACE JSON</td><td><a href="#TRACE" onClick="call(METHOD.TRACE);" >it.aqquadro.RaimondRex</a></td> -->
<!-- 		</tr> -->
		<tr>
			<td>HEAD JSON</td><td><a href="#HEAD" onClick="call(METHOD.HEAD);" >it.aqquadro.RaimondRex</a></td>
		</tr>
	</table>
	<hr />
	<p>Se below the response headers</p>
	<p id="responseHeaders"></p>
	<p>Se below the response</p>
</body>
</html>